def makeBold(fn):
    print("--正在装饰1--")
    def warped():
        print("--1--")
        return "<b>" + fn() + "</b>"
    return warped

def makeItalic(fn):
    print("--正在装饰2--")
    def warped():
        print("--2--")
        return "<i>" + fn() + "</i>"
    return warped


@makeBold
@makeItalic
def test3():
    print("--3--")
    return "hello word-3"

ret = test3()
print(ret)

